module.exports = function(mod) {
	mod.config(['$routeProvider', function ($routeProvider) {
		$routeProvider.when('/dashboard/fetchcollect',{
			templateUrl: './views/dashboard/fetchcollect.html',
			controller: 'DashBoardControllers.fetchcollect'
		}).when('/dashboard/fetchdetail/:pageno/:pro/:cate',{
			templateUrl: './views/dashboard/fetchdetail.html',
			controller: 'DashBoardControllers.fetchdetail'
		}).when('/dashboard/realtimestat/:pageno/:pro/:cate',{
			templateUrl: './views/dashboard/realtimestat.html',
			controller: 'DashBoardControllers.realtimestat'
		}).when('/dashboard/topicstat', {
			templateUrl: './views/dashboard/topicstat.html',
			controller: 'DashBoardControllers.topicstat'
		}).when('/dashboard/domainstat', {
			templateUrl: './views/dashboard/domainstat.html',
			controller: 'DashBoardControllers.domainstat'
		}).when('/dashboard/sourcestat',{
			templateUrl: './views/dashboard/sourcestat.html',
			controller: 'DashBoardControllers.sourcestat'
		}).when('/topic/topiclist',{
			templateUrl: './views/topic/topiclist.html',
			controller: 'TopicControllers.topiclist'
		}).when('/topic/topiccreate',{
			templateUrl: './views/topic/topiccreate.html',
			controller: 'TopicControllers.topiccreate'
		}).when('/topic/topicedit',{
			templateUrl: './views/topic/topiccreate.html',
			controller: 'TopicControllers.topiclist'
		}).when('/topic/sourcelist',{
			templateUrl: './views/topic/sourcelist.html',
			controller: 'TopicControllers.sourcelist'
		}).when('/topic/addsource',{
			templateUrl: './views/topic/addsource.html',
			controller: 'TopicControllers.addsource'
		}).when('/topic/parserList',{
			templateUrl: './views/topic/parserList.html',
			controller: 'TopicControllers.parserList'
		}).when('/topic/parserDetail',{
			templateUrl: './views/topic/parserDetail.html',
			controller: 'TopicControllers.parserDetail'
		}).when('/topic/parserDetailEdit/:id',{
			templateUrl: './views/topic/parserDetail.html',
			controller: 'TopicControllers.parserList'
		}).when('/topic/seedList',{
			templateUrl: './views/topic/seedList.html',
			controller: 'TopicControllers.seedList'
		}).when('/topic/seedDetailEdit/:id',{
			templateUrl: './views/topic/seedDetail.html',
			controller: 'TopicControllers.seedList'
		}).when('/topic/seedDetail',{
			templateUrl: './views/topic/seedDetail.html',
			controller: 'TopicControllers.seedDetail'
		}).otherwise({
			redirectTo: '/dashboard/fetchcollect'
		});
	}]);
}
